package com.liao.tensquare.admin.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoResponse {

    private String id;
    private String account;
    private String mobile;
    private String nickname;
    private String sex;
    private String birthday;
    private String avatar;
    private String email;
    private Date regdate;
    private Date updatedate;
    private Date lastdate;
    private Integer isDelete;
    private List<Role> roles;
    private List<Permission> permissions;
    /**
     * 在线时长（分钟）
     */
    private Long online;

}
